* {
    margin: 0;
    padding: 0;
    word-break: break-all;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: text !important;
}

[v-cloak] {
    display: none;
}

html,
body,
#app,
.el-container {
    height: 100%;
    background-color: rgb(224, 224, 224);
}

a {
    text-decoration: none;
    color: #0984e3;
    padding: 0 5px;
    border-bottom: 2px solid transparent;
}

a:hover {
    border-bottom: 2px solid #0984e3;
}

img {
    width: 100%;
    max-width: 600px;
    cursor: pointer;
}

#app {
    position: relative;
}

/* 登陆与注册 */
#login,
.body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logining {
    opacity: 0;
    visibility: hidden;
    box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
}

/* 登陆中心 */
.loginBox {
    width: 500px;
    height: 400px;
    overflow: hidden;
}

/* 登陆滑动盒子 */
.loginBoxTransform {
    width: 200% !important;
    display: flex;
}

.loginBoxTransformReg {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.loginBoxTransform > div {
    width: 100%;
    height: 100%;
    position: relative;
}

.loginBoxTransform h1 {
    text-align: center;
    margin: 35px 0;
    font-size: 1.5rem;
    color: rgb(39, 39, 39);
}

.bgText {
    font-size: 5rem;
    width: 5rem;
    color: rgb(170, 170, 170);
    position: absolute;
    right: 20px;
}

.inputBox {
    width: 260px;
    margin: 0 auto;
}

.inputBox input {
    display: block;
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    margin: 10px 0;
    padding: 5px 20px;
    box-sizing: border-box;
}

.buttons {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.button {
    width: 45%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 10px 10px 15px #bebebe, -10px -10px 15px #ffffff;
}

.codeBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mailCodeInput {
    width: 65% !important;
}

.mailCodeButton {
    width: 28% !important;
}

.mailCodeButtonOn {
    color: gray;
    cursor: not-allowed;
}

/* 加载屏障 */
.el-loading-mask {
    background-color: rgb(255 255 255 / 10%);
    backdrop-filter: blur(5px);
}

/* 主体 */
.body {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
}

.bodyShow {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

.body > div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 侧边栏 */
.bar {
    width: 300px;
    height: 50%;
}

.bar > div {
    width: 80%;
    height: 40px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: gray;
}

.bar > .action {
    color: black;
    box-shadow: 2px 2px 5px #bebebe, -2px -2px 5px #ffffff;
}

.bar h1 {
    padding: 20px 0 0 30px;
}

/* 面板 */
.panel {
    width: 500px;
    height: 50%;
    margin-left: 40px;
}

.panel > div {
    padding: 30px;
    box-sizing: border-box;
}

.panel h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.panel input {
    display: block;
    width: 300px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    margin: 10px 0;
    padding: 5px 20px;
    box-sizing: border-box;
}

.panel .buttons {
    width: 300px;
}

.whitelist {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}

.whitelist > div {
    position: relative;
    margin: 0 15px 15px 0;
    padding: 3px 15px;
    overflow: hidden;
    box-shadow: 3px 3px 5px #bebebe, -3px -3px 5px #ffffff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.deleteWhite {
    background-image: linear-gradient(to left, rgb(224, 224, 224) 40%, transparent);
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    text-align: center;
    color: red;
    line-height: 1.85rem;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
}

.whitelist > div:hover .deleteWhite {
    opacity: 1;
    visibility: inherit;
}

.addWhite {
    cursor: pointer;
}

.el-dialog {
    background: rgb(224, 224, 224);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.el-dialog .buttons {
    width: 100%;
    justify-content: right;
}

.el-dialog input {
    width: 100%;
}

.logout {
    width: 100px;
    margin: 20px 0;
}